package com.bonana.core.entity.utils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Justin on 2014-12-15.
 */
public class City implements Serializable {
    private int id;
    private int parentId;
    private String name;
    private int level;
    private String alias;

    private List<City> subList = new ArrayList<City>();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public List<City> getSubList() {
        return subList;
    }

    public void setSubList(List<City> subList) {
        this.subList = subList;
    }
}
